package org.example.mall.admin.model.es.marketing;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 减少ES数据存储量
 *
 * @author hzq
 * @date 2022/1/17 9:35
 */
@Data
public class ArticleEs {

    @ApiModelProperty(value = "文章id")
    private Integer articleId;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "封面图")
    private String coverPicture;

    @ApiModelProperty(value = "简介")
    private String introduction;

    @ApiModelProperty(value = "标签")
    private String label;

    @ApiModelProperty(value = "作者")
    private String author;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
}
